CollectSourceFiles(
    ${CMAKE_CURRENT_SOURCE_DIR}/
    PRIVATE_SOURCES)
    GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
  add_library(jsoncpp STATIC ${PRIVATE_SOURCES})

  target_link_libraries(jsoncpp
      PRIVATE
        emoney-core-interface
      PUBLIC
        ${CURL_LIBRARIES})

  target_include_directories(jsoncpp
    PUBLIC
    ${CURL_INCLUDE_DIRS}    
    ${CMAKE_CURRENT_SOURCE_DIR}/include)
	
  set_target_properties(jsoncpp
    PROPERTIES
      FOLDER
    "dep")
